function e = cfdUnit(v)
%--------------------------------------------------------------------------
%  Written by LiuHaHa @ NWPU, 2021 01 
%  Contact me at: liuzhikan@mail.nwpu.edu.cn
%==========================================================================
% Routine Description:
%   This function returns the cfdUnit cfdVector of a cfdVector/cfdVector list
%--------------------------------------------------------------------------

v_cfdMag = cfdMag(v);

% e = [v(:,1)./v_cfdMag, v(:,2)./v_cfdMag, v(:,3)./v_cfdMag];%3D
e = [v(:,1)./v_cfdMag, v(:,2)./v_cfdMag];%2D
